package cn.com.entity;

import java.io.Serializable;

public class News implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	//创建新闻类
	private int newsid;     
	private String newstitle;     //新闻标题
	private String newscontent;   //新闻内容
	private String newspublishedtime;   //新闻发表时间
	public int getNewsid() {
		return newsid;
	}
	public void setNewsid(int newsid) {
		this.newsid = newsid;
	}
	public String getNewstitle() {
		return newstitle;
	}
	public void setNewstitle(String newstitle) {
		this.newstitle = newstitle;
	}
	public String getNewscontent() {
		return newscontent;
	}
	public void setNewscontent(String newscontent) {
		this.newscontent = newscontent;
	}
	public String getNewspublishedtime() {
		return newspublishedtime;
	}
	public void setNewspublishedtime(String newspublishedtime) {
		this.newspublishedtime = newspublishedtime;
	}
	public News(int newsid, String newstitle, String newscontent,
			String newspublishedtime) {
		super();
		this.newsid = newsid;
		this.newstitle = newstitle;
		this.newscontent = newscontent;
		this.newspublishedtime = newspublishedtime;
	}
	public News(String newstitle, String newscontent, String newspublishedtime) {
		super();
		this.newstitle = newstitle;
		this.newscontent = newscontent;
		this.newspublishedtime = newspublishedtime;
	}
	public News() {
		super();
	}
	
	
}
